package com.web.dao;

import com.entity.Dietitian;
import com.page.PageInfo;

import java.util.List;

public interface DietitianDao {

    public Dietitian selectByPrimaryKey(String cid) throws Exception ;

    public    List<Dietitian> getDietitiansByPage(PageInfo pageInfo) throws Exception ;

   public List<String>  searchDietitianIdsByName(String petternName);

    public int add(Dietitian dietitian) throws Exception ;

    public int update(Dietitian dietitian) throws Exception;
}
